<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <!-- <a href="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png">百度</a> -->

    <img src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" alt="">

    <!-- src 不受同源策略的约束 -->

    <script src="http://43.138.81.225/php/1.php"></script>


    <!-- src请求访问某个文件中的内容 -->

    <script src="../js/a.txt"></script>

    <script>

        function fn() {
            console.log(1);
        }
    </script>

    <!-- b.js内容就是 fn() -->
    <script src="../js/b.js"></script>
    
</body>
</html>